package net.pws.oos.biz.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "s_indicator_template_detail")
public class IndicatorTemplateDetail extends Identifier {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3235447916547985128L;

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "template_id")
    private IndicatorTemplate template;
    
    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "indicator_id")
    private Indicator indicator;
    
	public IndicatorTemplate getTemplate() {
		return template;
	}

	public void setTemplate(IndicatorTemplate template) {
		this.template = template;
	}

	public Indicator getIndicator() {
		return indicator;
	}

	public void setIndicator(Indicator indicator) {
		this.indicator = indicator;
	}

}
